<template>
    <div>
        <h1>会员等级列表</h1>

        <input type="button" value="添加等级" @click="aa">
    </div>
</template>

<script setup lang="ts">
    import { useRouter } from 'vue-router';
    const router = useRouter();

    //跳转到会员等级添加页面
    const aa =()=>{
        router.push('/levelAdd');
    }

</script>       

<style scoped>

</style>